﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp24
{
    class Program
    {
        static void Main(string[] args)
        {
            SortedList sl = new SortedList();
            sl.Add(1,"沆瀣一气");
            sl.Add(2, "绵绵瓜瓞");
            sl.Add(3, "龙行龘龘");
            sl.Add(4, "奉为圭臬");
            foreach (DictionaryEntry li in sl)
            {
                Console.WriteLine(li.Key );
                Console.WriteLine(li .Value );
            }
        }
    }
}
